import React, { FC } from 'react'
import { Typography, Select } from 'antd'
import { QuestionSelectDefaultProps, QuestionSelectPropsType } from './interface'
const { Paragraph } = Typography
const QuestionSelect: FC<QuestionSelectPropsType> = (props: QuestionSelectPropsType) => {
  const { title, options = [] } = { ...QuestionSelectDefaultProps, ...props }
  return (
    <div>
      <Paragraph strong>{title}</Paragraph>
      <Select>
        <Select.Option value="sample">Sample</Select.Option>
      </Select>
    </div>
  )
}

export default QuestionSelect
